package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.vo.NursingLevelVo;

import java.util.List;

public interface NursingLevelService {
    //获取所有护理等级信息
    List<NursingLevelVo> all();

    //添加护理等级信息
    void add(NursingLevelDto nursingLevelDto);

    //分页查询护理等级信息
    PageResponse<NursingLevelVo> getByPage(Integer pageNum, Integer pageSize, String name, Integer status);

    //根据id查询护理等级信息
    NursingLevelVo getById(Long id);

    //编辑更新护理等级信息
    void update(NursingLevelDto nursingLevelDto);

    //根据id删除护理等级信息
    void deleteById(Long id);

    //启用禁用护理等级
    void enableDisable(Long id, Integer status);
}
